projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03a3ca
)
gtkplug: Do not leak in gtk_plug_realize()
author
Javier Jardón
<jjardon@gnome.org>
Thu, 18 Nov 2010 16:47:04 +0000
(17:47 +0100)
committer
Javier Jardón
<jjardon@gnome.org>
Thu, 18 Nov 2010 16:52:18 +0000
(17:52 +0100)
Indeed, we should check for window->wmclass_name
Reported by Guillaume Desmottes in bug
https://bugzilla.gnome.org/show_bug.cgi?id=635175
gtk/gtkplug.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplug.c
b/gtk/gtkplug.c
index f8a19ffe3a4beb0435f3790b430ae68cc4cec170..d3aacabcecdd5141684b55bcc3a832b1eae0b22d 100644
(file)
--- a/
gtk/gtkplug.c
+++ b/
gtk/gtkplug.c
@@
-663,7
+663,7
@@
gtk_plug_realize (GtkWidget *widget)
attributes_mask = GDK_WA_VISUAL;
attributes_mask |= (title ? GDK_WA_TITLE : 0);
- attributes_mask |= (
g_strdup (g_get_prgname ())
? GDK_WA_WMCLASS : 0);
+ attributes_mask |= (
wmclass_name
? GDK_WA_WMCLASS : 0);
if (gtk_widget_is_toplevel (widget))
{